<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }
    p{
        width: 200px;
        height: 40px;
        line-height: 40px;
        text-indent: 20px;
        color: #ffffff;

        background-color: skyblue;

    }
    ul {
        width: 200px;
        height:120px;
        list-style: none;
    }

    ul li {
        width: 200px;
        height: 40px;

        text-indent: 20px;
        line-height: 40px;
        background-color: pink;
    }
    a{
        text-decoration: none;
        color: #ffffff;
    }
    ul li:hover{
        background-color: rgb(29, 195, 51);
    }
    ul li:hover a{
        color: #000000;
    }
</style>

<body>
    <h3>首页</h3>
    <p>项目案例</p>
    <ul>
        <li><a href="#">员工管理</a></li>
        <li><a href="#">电子简历</a></li>
        <li><a href="#">网络游戏</a></li>
    </ul>
    <p>css</p>
    <ul>
        <li><a href="#">员工管理</a></li>
        <li><a href="#">电子简历</a></li>
        <li><a href="#">网络游戏</a></li>
    </ul>

    </table>
    <script src="js/Jquery3.6.js"></script>
    <script>
        $("p").on("click", function () {
            $(this).next().stop().slideToggle(1000)
        })
        $("li").on("click",function(){
            $("h3").text("首页"+"/"+$(this).children().text())
        })
    </script>
</body> 

</html>